{% extends "base.html" %}
{% load static %}

{% block headtitle %}{% if user.name %}{{user.name}} - {% endif %}{{PORTAL_NAME}}{% endblock headtitle %}

{% block headermeta %}

<meta property="og:title" content="{% if user.name %}{{user.name}} - {% endif %}{{PORTAL_NAME}}">
<meta property="og:type" content="website">
<meta property="og:description" content="">

<meta name="twitter:card" content="summary">

{% endblock headermeta %}

{% block topimports %}
<link href="{% static "css/profile-media.css" %}" rel="preload" as="style">
<link href="{% static "css/profile-media.css" %}" rel="stylesheet">
{%endblock topimports %}

{% block innercontent %}
{% if user %}{% else %}
No such user
{% endif %}
{% endblock %}

{% block content %}
{% if user %}<div id="page-profile-media"></div>{% endif %}
{% endblock %}

{% block bottomimports %}
<script src="{% static "js/profile-media.js" %}"></script>
{% endblock bottomimports %}